FROM 172.25.42.235:5000/devops/jdk-1.8.0_151:latest
MAINTAINER leenhem
RUN mkdir /usr/local/eureka
WORKDIR /usr/local/eureka
ADD target/carsoa-eureka.jar /usr/local/eureka

RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
EXPOSE 8080
CMD ["java","-jar","carsoa-eureka.jar","--spring.profiles.active=docker"]